# coding；UTF-8
class Member():
    def set_info(self,name,age):
        self.__name = name  # 属性封装，只能被内部访问
        self.__age = age # 封装属性，只能被内部访问

    def get_info(self):
        return "姓名是：%s,年龄是：%d" % (self.name,self.age)

def test_main():
    men = Member()
    men.set_info("张三",6)
    print(men.name)
    print(men.age)
    print(men.__name)
    print(men.__age)
    print(men.get_info())

if __name__ == '__main__':
    test_main()